<?php //if ($this->category != '') :?>
<form name="form1" action="" method="post" enctype="multipart/form-data">
<input type="hidden" name="item" value="" />
<input type="hidden" name="mode" value="" />
<input type="hidden" name="type" value="" />
<table width="100%" border="0" cellpadding="5" cellspacing="2">
   <input type="hidden" name="nameimage" value="<?php echo $this->tenFile; ?>" />
   <tr>
   	 <td valign="top" align="left" bgcolor="#FFFFCC">
   	 	 <?php if (FunctionCommon::checkImage($this->tenFile)) : ?>
	     <?php echo FunctionCommon::flashHtml(FunctionCommon::getImage('flash', $this->tenFile)); ?>
	     <?php else :?>
	     	<img src="<?php echo FunctionCommon::getImage('flash', $this->tenFile);?>" />
	     <?php endif;?>
   	     <br /><input onclick="frmSubmit('m=flash&a=edit', '<?php echo $this->id; ?>', 'edit', 'delete')" type="button" name="delimage" id="delimage" value="Delete Image" style="cursor:pointer; color:#F00;" />
     </td>
   </tr>
   <tr>
   	 <td align="left" bgcolor="#FFFFCC">Hình ảnh :<br /><input type="file" name="code" id="code" size="50" />&nbsp;&nbsp;<input onclick="frmSubmit('m=flash&a=edit', '<?php echo $this->id; ?>', 'edit', 'upload')" type="button" name="uphinh" value="Upload Image"></td>
   </tr>
   <tr>
     <td align="center" bgcolor="#FFFFCC"><input onclick="frmSubmit('m=flash&a=edit', '<?php echo $this->id; ?>', 'edit', 'edit')" type="button" name="button" id="button" value="<?php echo $this->tpl_button;?>" class="button-submit" /></td>
   </tr>
</table>
</form>
<?php //endif;?>